<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="resources/admin/layui/css/layui.css" />
    <script type="text/javascript" src="resources/admin/Extjs4.2.1/ext-all.js"></script>
    <script type="text/javascript">
        function toTask(){
            var util =  parent.Ext.create('system.util.util');
            var model = parent.Ext.create('system.workflow.task.biz.TaskManage');
            util.addTab('gzldsp' , '我的任务' , model , 'fa-tasks');
        }

        function toProject(){
            var util =  parent.Ext.create('system.util.util');
			if(util.getParams("user").isadmin != null && util.getParams("user").isadmin){
				var model = parent.Ext.create('system.zgyxy.project.biz.ProjectManage');
				util.addTab('projectgl' , '项目管理' , model , 'fa-list-ul');
			}else{
				var model = parent.Ext.create('system.zgyxy.project.biz.apply.ProjectApplyManage');
				util.addTab('scxm' , '项目申报' , model , 'fa-clipboard');
			}
        }

        function toEmail(){
            var util =  parent.Ext.create('system.util.util');
            var model = parent.Ext.create('system.email.inbox.biz.InboxManage');
            util.addTab('sjx' , '收件箱' , model , 'fa-envelope-o');
        }
    </script>
</head>
<body style="background-color: #F2F2F2;">
<div class="layui-row">
	<div class="layui-col-xs3" style="padding: 7.5px;">
		<div class="layui-card">
			<div class="layui-card-header" style="background-color: #3992d1;color: #fff;">我的任务</div>
			<a href="javascript:toTask();">
				<div class="layui-card-body">
					<p style="font-size: 36px;color: red;line-height: 36px;padding: 5px 0 10px;overflow: hidden;text-overflow:ellipsis;word-break: break-all;white-space: nowrap;">
						${tasknum}
					</p>
					<p style="display: block; -webkit-margin-start: 0px;-webkit-margin-end: 0px;color: #666666;">
						点击处理我的代办任务
						<span style="position: absolute;right: 15px;">
							<i class="layui-icon">&#xe65b;</i>
						</span>
					</p>

				</div>
			</a>
		</div>
	</div>
	<div class="layui-col-xs3" style="padding: 7.5px;">
		<div class="layui-card">
			<div class="layui-card-header" style="background-color: #3992d1;color: #fff;">大创项目</div>
			<a href="javascript:toProject();">
				<div class="layui-card-body">
					<p style="font-size: 36px;color: #666;line-height: 36px;padding: 5px 0 10px;overflow: hidden;text-overflow:ellipsis;word-break: break-all;white-space: nowrap;">
						${projectnum}
					</p>
					<p style="display: block; -webkit-margin-start: 0px;-webkit-margin-end: 0px;color: #666666;">
						点击查看大创项目
						<span style="position: absolute;right: 15px;">
							<i class="layui-icon">&#xe65b;</i>
						</span>
					</p>

				</div>
			</a>
		</div>
	</div>
	<div class="layui-col-xs3" style="padding: 7.5px;">
		<div class="layui-card">
			<div class="layui-card-header" style="background-color: #3992d1;color: #fff;">竞赛项目</div>
			<a href="#">
				<div class="layui-card-body">
					<p style="font-size: 36px;color: #666;line-height: 36px;padding: 5px 0 10px;overflow: hidden;text-overflow:ellipsis;word-break: break-all;white-space: nowrap;">
						0
					</p>
					<p style="display: block; -webkit-margin-start: 0px;-webkit-margin-end: 0px;color: #666666;">
                        点击查看竞赛项目
						<span style="position: absolute;right: 15px;">
							<i class="layui-icon">&#xe65b;</i>
						</span>
					</p>

				</div>
			</a>
		</div>
	</div>
	<div class="layui-col-xs3" style="padding: 7.5px;">
		<div class="layui-card">
			<div class="layui-card-header" style="background-color: #3992d1;color: #fff;">我的消息</div>
			<a href="javascript:toEmail();">
				<div class="layui-card-body">
					<p style="font-size: 36px;color: #666;line-height: 36px;padding: 5px 0 10px;overflow: hidden;text-overflow:ellipsis;word-break: break-all;white-space: nowrap;">
						${emainnum}
					</p>
					<p style="display: block; -webkit-margin-start: 0px;-webkit-margin-end: 0px;color: #666666;">
						点击查看所有消息
						<span style="position: absolute;right: 15px;">
							<i class="layui-icon">&#xe65b;</i>
						</span>
					</p>

				</div>
			</a>
		</div>
	</div>
</div>
</body>
</html>